<template>
    <div class="newWrapper">
        <Header />
        <div class="newInline">
           
            <div class="container">
                <div class="topNav" style="margin-bottom:20px;">
                    <el-breadcrumb separator-class="el-icon-arrow-right">
                        <el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
                        <el-breadcrumb-item  :to="{ path: '/functional' }">帮助与反馈</el-breadcrumb-item>
                        <el-breadcrumb-item >功能说明详情</el-breadcrumb-item>
                    </el-breadcrumb>
                </div>
                <div class="newContent">
                    <h1>{{newInfo.title}}</h1>
                    <div class="newAll">
                        <div class="newTip">
                            <span>发布时间：{{ newInfo.updateTime }}</span>
                        </div>
                     </div>
                    <img class="split" src="@/assets/images/split.png" alt="" />
                    <div class="detailContent">
                        <p v-html="newInfo.text"></p>
                    </div>
                </div>
                <Link />
            </div>
        </div>
        <Footer />
    </div>
</template>
<script>
import Link from "@/components/home/footer/link"
import Header from "@/components/home/header/header";
import Footer from "@/components/home/footer/footer";
import { specificationDetailNone } from "@/request/api/specification"
export default {
    components: {
        Link,
        Header,
        Footer
    },
    data() {
        return {
            id: this.$route.query.id,
            newInfo: {},
            fileData: [],
        }
    },
    created() {
        this.getDetail()
    },
    methods: {
        // 查看详情
        getDetail() {
            specificationDetailNone(this.id).then(res => {
                if (res.data.code === 200) {
                    this.newInfo = res.data.result
                }
            })
        },
        // 下载附件
        uploadFile(url) {
            window.open(url)
        },
       
        
      
    }
}
</script>
<style lang="less" scoped>
@import "./new.less";
</style>
<style lang="less">
.detailContent{
    img{
        max-width: 100%;
        display: block;
        margin:5px auto;
    }
    p{
        color: #4b4b4b;
        line-height: 30px;
        word-break: break-all;
    }
}
</style>
